import fetch from '../fetch/api.js'
import { GOVERNMENT } from '../cofigApi/configApi' //解构Url配置的地址；


export const getNewsList=(params)=>{
  let _params = Object.assign({}, params);
  let baseUrl = GOVERNMENT.NEWDATAILS;
  return fetch(baseUrl,_params)
}


export const getTestDataList=(params)=>{
  let _params = Object.assign({}, params);
  let baseUrl = GOVERNMENT.NEWTEST;
  //console.log(_params)
  fetch(baseUrl,_params)
}
